package flash.desktop;

extern class Clipboard
{
	static var generalClipboard(default, null):flash.desktop.Clipboard;
	function clear():Void;
	function clearData(format:flash.desktop.ClipboardFormats):Void;
	function setData(format:flash.desktop.ClipboardFormats, data:Dynamic, serializable:Bool = true):Bool;
	function setDataHandler(format:flash.desktop.ClipboardFormats, handler:Dynamic, serializable:Bool = true):Bool;
	function getData(format:flash.desktop.ClipboardFormats, transferMode:flash.desktop.ClipboardTransferMode = null):Dynamic;
	function hasFormat(format:flash.desktop.ClipboardFormats):Bool;
	var formats(default, null):Array<flash.desktop.ClipboardFormats>;
	var supportsFilePromise(default, null):Bool;
	function new():Void;
}